Auto merge of #5468 - matklad:aliases, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 3 May 2018 15:31:44 +0000 (15:31 +0000)
committerbors <bors@rust-lang.org>
Thu, 3 May 2018 15:31:44 +0000 (15:31 +0000)
commit151f37c2a7a797936ba755e52abee192dda8a1d3
treefa6a5306c6d294eb0014ad58dd6a7beb2467cc54
parent4dc5db2db5603b926467996ccdfc8262506a2010
parentecd1e5df0f9b84d95eeb013305dc43bdbd7e9bac
Auto merge of #5468 - matklad:aliases, r=alexcrichton

Tweak handling of aliases

Previously, `execute_subcommand` was called recursively, and each call
would `.configure` the `config` again. It worked, but seemed rather
fragile.

This commit handles aliases more explicitly, ensures that `.configure`
is called once and, as a bonus, adds a warning for when an alias is
shadowed by the built in.